package com.zlsy.springbootdemo.utils;

import java.util.Random;

/**
 * @author zhouliang
 * @date 2020/6/3 10:43
 */
public class TagUtil {
    private final static String[] TAGS = {"tech", "wow", "elasticsearch"};
    private final static Random random = new Random();

    public static String getTag() {
        int index = random.nextInt(TAGS.length);
        return TAGS[index];
    }

}
